# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=py3-zope-exceptions
_pyname=zope.exceptions
pkgver=4.4
pkgrel=0
pkgdesc="Zope Exceptions"
# Cyclic dep zope.testrunner needs zope.exceptions to run, but zope.exceptions
# needs zope.testrunner on its test dependencies
options="!check"
url="https://github.com/zopefoundation/zope.exceptions"
arch="noarch"
license="ZPL-2.1"
depends="python3 py3-zope-interface py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="6ef175271ad1d62b450533e4c7d8f7380ffac519be5c48be084be297ad21d21fd8be380d9b5e221a8dac6a4c792bab14abc707331415c2df88208cac9c34013e  zope.exceptions-4.4.tar.gz"
